<template>
  <div :class="[
    't-card',
    't-card_'+size,
    hover?'is-hover':''
  ]">
    <slot name="header">
      <div class="t-card_header" v-if="title">
          <span>{{title}}</span>
      </div>
    </slot>
    <div class="t-card_body">
      <slot></slot>
    </div>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { cardProps } from "./card-type"
export default defineComponent({
  name:'TCard',
  props: cardProps,
  setup() {
    
  },
})
</script>
